package com.avetti.commerce.webservices;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;


/**
 * Customer object for customer Web Services
 * @author A.Nadtochey
 *
 */
public class Customer {
    private Long clientid;
    private String loginname;
    private String loginpassword="";
    private String vendorid="";
    private String hintquestion;
    private String hintanswer;
    private long usinggiftwrapoption=0;
    private Long shoppergroupid;
    private String invoiceable="N";
    private short registered=0;
    private Date dateregistration=new Date(0L);
    private int groupid=0;
    private Date lastlogintime;
    private int loginerrortimes = 0;
    private int active = 0;
    private Date    birthday = new Date(0L);
    private String  firstname = "";
    private String  lastname = "";
    private String  middlename = "";
    private String  salutation = "";
    private String  email = "";    
    private Integer orderscount = new Integer(0);

    private double maxinvordervalue = 0.0d;
    private double mininvordervalue = 0.0d;
    private double maxordervalue = 0.0d;
    private double minordervalue = 0.0d;
    
    private String invoicecustomer = null;
    

    
    /**
     * @return the maxinvordervalue
     */
    public double getMaxinvordervalue() {
        return maxinvordervalue;
    }
    /**
     * @param maxinvordervalue the maxinvordervalue to set
     */
    public void setMaxinvordervalue(double maxinvordervalue) {
        this.maxinvordervalue = maxinvordervalue;
    }
    /**
     * @return the mininvordervalue
     */
    public double getMininvordervalue() {
        return mininvordervalue;
    }
    /**
     * @param mininvordervalue the mininvordervalue to set
     */
    public void setMininvordervalue(double mininvordervalue) {
        this.mininvordervalue = mininvordervalue;
    }
    /**
     * @return the maxordervalue
     */
    public double getMaxordervalue() {
        return maxordervalue;
    }
    /**
     * @param maxordervalue the maxordervalue to set
     */
    public void setMaxordervalue(double maxordervalue) {
        this.maxordervalue = maxordervalue;
    }
    /**
     * @return the minordervalue
     */
    public double getMinordervalue() {
        return minordervalue;
    }
    /**
     * @param minordervalue the minordervalue to set
     */
    public void setMinordervalue(double minordervalue) {
        this.minordervalue = minordervalue;
    }
    /**
     * @return the invoicecustomer
     */
    public String getInvoicecustomer() {
        return invoicecustomer;
    }
    /**
     * @param invoicecustomer the invoicecustomer to set
     */
    public void setInvoicecustomer(String invoicecustomer) {
        this.invoicecustomer = invoicecustomer;
    }
    /**
     * @return the clientid
     */
    public Long getClientid() {
        return clientid;
    }
    /**
     * @param clientid the clientid to set
     */
    public void setClientid(Long clientid) {
        this.clientid = clientid;
    }
    /**
     * @return the loginname
     */
    public String getLoginname() {
        return loginname;
    }
    /**
     * @param loginname the loginname to set
     */
    public void setLoginname(String loginname) {
        this.loginname = loginname;
    }
    /**
     * @return the loginpassword
     */
    public String getLoginpassword() {
        return loginpassword;
    }
    /**
     * @param loginpassword the loginpassword to set
     */
    public void setLoginpassword(String loginpassword) {
        this.loginpassword = loginpassword;
    }
    /**
     * @return the vendorid
     */
    public String getVendorid() {
        return vendorid;
    }
    /**
     * @param vendorid the vendorid to set
     */
    public void setVendorid(String vendorid) {
        this.vendorid = vendorid;
    }
    /**
     * @return the hintquestion
     */
    public String getHintquestion() {
        return hintquestion;
    }
    /**
     * @param hintquestion the hintquestion to set
     */
    public void setHintquestion(String hintquestion) {
        this.hintquestion = hintquestion;
    }
    /**
     * @return the hintanswer
     */
    public String getHintanswer() {
        return hintanswer;
    }
    /**
     * @param hintanswer the hintanswer to set
     */
    public void setHintanswer(String hintanswer) {
        this.hintanswer = hintanswer;
    }
    /**
     * @return the usinggiftwrapoption
     */
    public long getUsinggiftwrapoption() {
        return usinggiftwrapoption;
    }
    /**
     * @param usinggiftwrapoption the usinggiftwrapoption to set
     */
    public void setUsinggiftwrapoption(long usinggiftwrapoption) {
        this.usinggiftwrapoption = usinggiftwrapoption;
    }
    /**
     * @return the shoppergroupid
     */
    public Long getShoppergroupid() {
        return shoppergroupid;
    }
    /**
     * @param shoppergroupid the shoppergroupid to set
     */
    public void setShoppergroupid(Long shoppergroupid) {
        this.shoppergroupid = shoppergroupid;
    }
    /**
     * @return the invoiceable
     */
    public String getInvoiceable() {
        return invoiceable;
    }
    /**
     * @param invoiceable the invoiceable to set
     */
    public void setInvoiceable(String invoiceable) {
        this.invoiceable = invoiceable;
    }
    /**
     * @return the registered
     */
    public short getRegistered() {
        return registered;
    }
    /**
     * @param registered the registered to set
     */
    public void setRegistered(short registered) {
        this.registered = registered;
    }
    /**
     * @return the dateregistration
     */
    public Date getDateregistration() {
        return dateregistration;
    }
    /**
     * @param dateregistration the dateregistration to set
     */
    public void setDateregistration(Date dateregistration) {
        this.dateregistration = dateregistration;
    }
    /**
     * @return the groupid
     */
    public int getGroupid() {
        return groupid;
    }
    /**
     * @param groupid the groupid to set
     */
    public void setGroupid(int groupid) {
        this.groupid = groupid;
    }
    /**
     * @return the lastlogintime
     */
    public Date getLastlogintime() {
        return lastlogintime;
    }
    /**
     * @param lastlogintime the lastlogintime to set
     */
    public void setLastlogintime(Date lastlogintime) {
        this.lastlogintime = lastlogintime;
    }
    /**
     * @return the loginerrortimes
     */
    public int getLoginerrortimes() {
        return loginerrortimes;
    }
    /**
     * @param loginerrortimes the loginerrortimes to set
     */
    public void setLoginerrortimes(int loginerrortimes) {
        this.loginerrortimes = loginerrortimes;
    }
    /**
     * @return the active
     */
    public int getActive() {
        return active;
    }
    /**
     * @param active the active to set
     */
    public void setActive(int active) {
        this.active = active;
    }
    /**
     * @return the birthday
     */
    public Date getBirthday() {
        return birthday;
    }
    /**
     * @param birthday the birthday to set
     */
    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }
    /**
     * @return the firstname
     */
    public String getFirstname() {
        return firstname;
    }
    /**
     * @param firstname the firstname to set
     */
    public void setFirstname(String firstname) {
        this.firstname = firstname;
    }
    /**
     * @return the lastname
     */
    public String getLastname() {
        return lastname;
    }
    /**
     * @param lastname the lastname to set
     */
    public void setLastname(String lastname) {
        this.lastname = lastname;
    }
    /**
     * @return the middlename
     */
    public String getMiddlename() {
        return middlename;
    }
    /**
     * @param middlename the middlename to set
     */
    public void setMiddlename(String middlename) {
        this.middlename = middlename;
    }
    /**
     * @return the salutation
     */
    public String getSalutation() {
        return salutation;
    }
    /**
     * @param salutation the salutation to set
     */
    public void setSalutation(String salutation) {
        this.salutation = salutation;
    }
    /**
     * @return the email
     */
    public String getEmail() {
        return email;
    }
    /**
     * @param email the email to set
     */
    public void setEmail(String email) {
        this.email = email;
    }
    /**
     * @return the orderscount
     */
    public Integer getOrderscount() {
        return orderscount;
    }
    /**
     * @param orderscount the orderscount to set
     */
    public void setOrderscount(Integer orderscount) {
        this.orderscount = orderscount;
    }

}
